import axios from "axios";

const baseURL = 'http://localhost:9022';
const instance = axios.create({ baseURL });

instance.interceptors.response.use(
    result => result.data,
    err => Promise.reject(err)
)

export default instance;